package one.stand.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 */
public interface CustomerLabelMapperExt {
    int insertByType(@Param("type") Integer type, @Param("typeId") Integer typeId, @Param("lableIds") Integer[] lableIds);

    int deleteByType(@Param("type") Integer type, @Param("typeId") Integer typeId);

    int selectByName(@Param("type") Integer type, @Param("typeId") Integer typeId, @Param("labelName") String name);

    int selectLabelByName(@Param("labelName") String name);

    List<Integer> selectList(@Param("type") int type, @Param("typeId") Integer typeId);
}